package com.lfy.modules.blog.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName blog_article_comment
 */
@TableName(value ="blog_article_comment")
@Data
public class ArticleComment implements Serializable {
    /**
     * id
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 邮箱
     */
    @TableField(value = "email")
    private String email;

    /**
     * 匿名昵称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 回复对象昵称
     */
    @TableField(value = "to_name")
    private String toName;

    /**
     * ip
     */
    @TableField(value = "ip")
    private String ip;
    /**
     * ip
     */
    @TableField(value = "ip_address")
    private String ipAddress;

    /**
     * 文章id
     */
    @TableField(value = "article_id")
    private Long articleId;

    /**
     * 评论层级 0：顶层 
     */
    @TableField(value = "parent_id")
    private Long parentId;

    /**
     * 回复内容
     */
    @TableField(value = "comment_content")
    private String commentContent;

    /**
     * 脱敏回复
     */
    @TableField(value = "comment_content_desensitization")
    private String commentContentDesensitization;

    /**
     * 是否ai过滤过；0-否；1-是
     */
    @TableField(value = "ai_distinguishing")
    private Integer aiDistinguishing;
    /**
     * 是否作者回复：0-否，1-是
     */
    @TableField(value = "is_author")
    private Integer isAuthor;
    /**
     * 回复时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}